package com.dingzhen.service.impl;

import com.dingzhen.entity.EatEnum;
import com.dingzhen.entity.Topic;
import com.dingzhen.service.IService;
import org.springframework.stereotype.Service;

/**
 * @author dingzhen
 */
@Service
public class ChickenServiceImpl implements IService {

    private final String desc="小鸡真好吃，一份16元。每次鸡肉越来越少！";
    @Override
    public String handler(Topic topic) {
        return topic.getName()+"-------->"+desc;
    }

    @Override
    public String type() {
        return EatEnum.eatChicken.name();
    }
}
